package com.mike.employment.po;

import com.mike.employment.base.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Entity
@Getter
@Setter
public class Role extends BaseEntity{

	@Column(nullable = false,unique = true)
	private String name;  //角色名称
	@Column(nullable = false,unique = true)
	private String code;  //角色编码
    private String desp;  //角色描述
	
}
